import { ApiProperty } from '@nestjs/swagger';

/** id类型返回DTO */
export class IdNameResDto {
  @ApiProperty({ description: 'id' })
  readonly id: number;

  @ApiProperty({ description: 'name' })
  readonly name: string;
}
